package com.oba.king.sysmanager.log;

public class TableInfo {

	private Class className;
	private Integer code;
	private String tableName;
	private String tableFullName;
	private String tableDesc;

	/**
	 * @param obj
	 *            实体对象
	 * @param tableName
	 *            对应的表的名字（英文）
	 * @param tableFullName
	 *            对应的表的名字（中文）
	 * @param tableDesc
	 *            表的描述
	 */
	public TableInfo(Class c, String tableName, String tableFullName,
			String tableDesc) {
		this.className = c;
		this.code = className.toString().hashCode();
		this.tableName = tableName;
		this.tableFullName = tableFullName;
		this.tableDesc = tableDesc;
	}

	public Class getClassName() {
		return className;
	}

	public void setClassName(Class className) {
		this.className = className;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public String getTableName() {
		return tableName;
	}

	public void setTableName(String tableName) {
		this.tableName = tableName;
	}

	public String getTableFullName() {
		return tableFullName;
	}

	public void setTableFullName(String tableFullName) {
		this.tableFullName = tableFullName;
	}

	public String getTableDesc() {
		return tableDesc;
	}

	public void setTableDesc(String tableDesc) {
		this.tableDesc = tableDesc;
	}

}
